package cn.sz.dzy.provider.controller;

import cn.sz.dzy.common.util.result.Result;
import cn.sz.dzy.provider.service.ITestService;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@Api(tags = "VIIDTest")
@RestController
@RequestMapping("/VIID/provider")
@Slf4j
public class Test {

    @Autowired
    private ITestService testService;

    @GetMapping("/test")
    public Result test() {
        List<String> list=testService.test();
        return Result.success(list);
    }
}